#!/bin/sh

set -e

if [ -e /var/run/${pkg.name}/${pkg.name}.pid ]; then
    service ${pkg.name} stop
fi

exit 0